package com.sunday.boot3.user.center.repository.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sunday.boot3.user.center.repository.entity.Permissions;
import com.sunday.boot3.user.center.repository.entity.UserRole;

import java.util.List;

/**
 * @Description: 用户角色关系表 数据访问层类
 * @author: zsy
 * @Create: 2024/09/20 14:34:16
 */
public interface UserRoleDao extends IService<UserRole> {

    List<Permissions> findPermissionsByUserId(Long userId);

}
